package com.mydemo.design_pattern.action_type.strategy_pattern.demo2.impl;

import com.mydemo.design_pattern.action_type.strategy_pattern.demo2.PayRequest;
import com.mydemo.design_pattern.action_type.strategy_pattern.demo2.PayStrategy;

/**
 * <p></p >
 *
 * @author liming1
 * @version $Id: BalancePay, v1.0 2019-09-24 13:47 liming1 Exp $
 */
public class BalancePay implements PayStrategy {
    @Override
    public Object pay(PayRequest request) {
        System.out.println("重新组装余额支付参数：" + request.toString());
        System.out.println("调用余额支付接口");
        return "B";
    }
}
